package com.ruoyi.eqmonitor.dispose.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.eqmonitor.dispose.domain.ExteriorSiteMonitorData;
import com.ruoyi.eqmonitor.dispose.dtos.*;
import com.ruoyi.eqmonitor.dtos.WordReportDto;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * 外部接口-微站站点实时数据服务层
 */
public interface ExteriorSiteMonitorDataService extends IService<ExteriorSiteMonitorData> {

    List<ExteriorSiteMonitorData> getInfo(SiteMonitorDataDto siteMonitorDataDto);

    List<ExteriorSiteMonitorData> lastData(String siteCode);

    List<ExteriorSiteMonitorData> lastListData(String siteName);

    Map<String, List<SiteMonitorDataGetAllDto>> getAll();

    List<SiteMonitorDataGetAllDto> getWaterQuality(SiteMonitorDataDto dto);

    List<SiteMonitorDataGetAllVo> getWaterQualityBackstage(String name);

    //根据街道判断超标因子
    List<JudgeOverproofVo> judgeOverproof(String areaName,
                                    String beginTime,
                                    String endTime);

    List<SiteMonitorDataGetAllDto> getWaterQualityBackstageExport(SiteMonitorDataDto dto);

    List<StatementExportVo> getStatementExport(SiteMonitorDataDto dto) throws ParseException;

    Map<String,List<SiteMonitorDataGetAllDto>> getHistory(String siteName,Integer state);

    List<WaterQualityMergeVO> getWaterQualityMerge(WaterQualityMergeDto dto);

    List<WaterQualityMergeVO> getWaterQualityMergeG(WaterQualityMergeDto dto);

    ReportAVo report(WordReportDto dto);

}
